package factory_method_pattern.sample;

/**
 * 志愿者工厂
 * @author ricejson
 */
public class VolunteerFactory implements LeiFengFactory {
    @Override
    public LeiFeng createLeiFeng(String name) {
        return new Volunteer(name);
    }
}
